package com.transaction.demo.sentinel;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 描述：会计服务
 * 作者：马庆智
 * 日期：2023/4/26 10:24
 */
@Slf4j
@SpringBootApplication
public class SentinelApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(SentinelApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        log.info("sentinel服务已启动!");
    }
}